package com.macro.mall.portal.config.sharding.ranghash;

import com.google.common.collect.Range;
import org.apache.shardingsphere.api.sharding.standard.RangeShardingAlgorithm;
import org.apache.shardingsphere.api.sharding.standard.RangeShardingValue;

import java.util.Collection;

/**
 * @author wwj
 */
public class CustomRangeShardingAlgorithm implements RangeShardingAlgorithm {


    @Override
    public Collection<String> doSharding(Collection collection, RangeShardingValue rangeShardingValue) {

        return collection;
    }
}
